/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package AdminManagerment.entities;

/**
 *
 * @author Tngoc this class store information about one staff record in the
 * staff table
 */
public class Staff {

    private int ID;
    private String name;
    private String password;
    private int role;
    private String email;
    private String address;
    private boolean gender;
    private boolean active;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public Staff(int ID, String name, String password, int role, String email, String address, boolean gender, boolean active) {
        this.ID = ID;
        this.name = name;
        this.password = password;
        this.role = role;
        this.email = email;
        this.address = address;
        this.gender = gender;
        this.active = active;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public Staff() {
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }
}
